namespace Grammars.Core
{
    public interface IParser<T> 
        where T : Node, new()
    {
        T Parse(TokenStream<T> str);
        Grammar<T> Grammar { get; }
    }
}